Platform Explorer / Nuxeo Platform 6.0

Contribution org.nuxeo.drive.theme--applications

This contribution is part of XML component org.nuxeo.drive.theme inside nuxeo-drive-jsf-6.0.jar

Extension Point

Extension point applications of component ThemeService.

Contributed Items

  • <application root="/nuxeo" template-engine="jsf-facelets">
    
          <!-- Cache control for theme resources (/nxthemes-lib/) -->
          <resource-caching>
            <lifetime>36000</lifetime>
          </resource-caching>
          <!-- Cache control for theme styles (/nxthemes-css/) -->
          <style-caching>
            <lifetime>900</lifetime>
          </style-caching>
    
          <view id="/drive_metadata.xhtml">
            <theme>galaxy/popup</theme>
          </view>
    
        </application>

XML Source

<extension point="applications" target="org.nuxeo.theme.services.ThemeService">

    <application root="/nuxeo" template-engine="jsf-facelets">

      <!-- Cache control for theme resources (/nxthemes-lib/) -->
      <resource-caching>
        <lifetime>36000</lifetime>
      </resource-caching>
      <!-- Cache control for theme styles (/nxthemes-css/) -->
      <style-caching>
        <lifetime>900</lifetime>
      </style-caching>

      <view id="/drive_metadata.xhtml">
        <theme>galaxy/popup</theme>
      </view>

    </application>
  </extension>